8.1
HIGH CVSS 3.1
CVE-2026-42167
ProFTPD mod_sql Remote Code Execution Vulnerability
Description

mod_sql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM).

INFO

Published Date :

April 28, 2026, 11:16 p.m.

Last Modified :

May 1, 2026, 7:16 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-42167 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Proftpd proftpd
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 8254265b-2729-46b6-b9e3-3dfca2d5bfca
CVSS 3.1 HIGH [email protected]
Solution
Update ProFTPD to version 1.3.10rc1 or later to prevent arbitrary code execution.
  • Update ProFTPD to version 1.3.10rc1 or later.
  • Ensure logging does not expand usernames.
  • Configure SQL backend to disallow commands.
Public PoC/Exploit Available at Github

CVE-2026-42167 has a 9 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-42167 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Task for harborframework.

Dockerfile C Makefile Shell Python

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : May 10, 2026, 1:23 p.m. This repo has been linked 2 different CVEs too.

None

Go

Updated: 2 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : May 4, 2026, 12:37 a.m. This repo has been linked 1 different CVEs too.

ProFTPD SQL injection PoC

Go

Updated: 2 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 1:08 p.m. This repo has been linked 1 different CVEs too.

security scan and patch for linux system

Shell

Updated: 2 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 10:19 a.m. This repo has been linked 12 different CVEs too.

Python exploit for CVE-2026-42167 (ProFTPD mod_sql). Features automated file scanning and timing-based blind data exfiltration.

exploit penetration-testing postgressql proftpd security-research sql-injection cve-2026-42167

Python

Updated: 2 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 9:09 a.m. This repo has been linked 1 different CVEs too.

Phase-locked temporal wedge exploitation — replacing SQL injection with CTT physics

Python

Updated: 2 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 6:36 a.m. This repo has been linked 1 different CVEs too.

Pre-Auth RCE in ProFTPD via mod_sql is_escaped_text() bypass (CVE-2026-42167)

Python

Updated: 2 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : May 1, 2026, 1:36 p.m. This repo has been linked 1 different CVEs too.

Independent reproduction, code-level root-cause analysis, and realistic-exposure write-up for CVE-2026-42167 (ProFTPD mod_sql is_escaped_text() bypass).

Python Shell

Updated: 2 weeks, 6 days ago
2 stars 0 fork 0 watcher
Born at : April 29, 2026, 6:52 a.m. This repo has been linked 1 different CVEs too.

POCs to demonstrate CVE-2026-42167 in ProFTPD

Python Shell

Updated: 2 weeks, 4 days ago
18 stars 4 fork 4 watcher
Born at : April 28, 2026, 2:35 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-42167 vulnerability anywhere in the article.

  • CybersecurityNews
ProFTPD’s SQL Injection Vulnerability Enables Remote Code Execution Attacks

A critical SQL injection vulnerability in ProFTPD, one of the Internet’s most widely deployed FTP servers. Tracked as CVE-2026-42167, this flaw carries a CVSS severity score of 8.1 and affects the mod ... Read more

Published Date: Apr 30, 2026 (2 weeks, 5 days ago)

The following table lists the changes that have been made to the CVE-2026-42167 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    May. 01, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/05/01/13
  • CVE Modified by [email protected]

    May. 01, 2026

    Action Type Old Value New Value
    Changed Description mod_sql in ProFTPD before 1.3.10rc1 allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM). mod_sql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM).
    Added Reference https://www.openwall.com/lists/oss-security/2026/05/01/4
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    May. 01, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/05/01/4
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Apr. 29, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc
  • New CVE Received by [email protected]

    Apr. 28, 2026

    Action Type Old Value New Value
    Added Description mod_sql in ProFTPD before 1.3.10rc1 allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM).
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-89
    Added Reference http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1
    Added Reference https://github.com/proftpd/proftpd/issues/2052
    Added Reference https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc
    Added Reference https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.